﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 打开
{
    //窗口托盘图标及菜单部分
    partial class Form1
    {
        private void 托盘图标_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            显示ToolStripMenuItem_Click(null, EventArgs.Empty);
        }


        private void 显示ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            showForm(true);
        }

        private void 退出ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OnClosed(null);
        }

    }
}
